/* @remove-on-es-build-begin */
const ENV = process.env.NODE_ENV;
if (
  ENV !== 'production' &&
  ENV !== 'test' &&
  typeof console !== 'undefined' &&
  console.warn &&
  typeof window !== 'undefined'
) {
  console.warn(
    'You are using a whole package of maxaioqu, ' +
    'please use https://www.npmjs.com/package/babel-plugin-import to reduce app bundle size.',
  );
}
/* @remove-on-es-build-end */
import {default as Button} from './mxq-button';


// import { default as Mention } from './mention'
import {default as version} from './version';


// import { default as ColorPicker } from './color-picker';


const components = [
  Button
];

const install = function (Vue) {
  components.map(component => {
    Vue.use(component);
  });
};

/* istanbul ignore if */
if (typeof window !== 'undefined' && window.Vue) {
  install(window.Vue);
}

export {
  version,
  install,
  Button
};

export default {
  version,
  install,
};
